<link rel="stylesheet" href="https://file.viplgw.cn/ui/thinku-ielts-new/css/evaluation/result.css">
<script src="https://gmat.viplgw.cn/app/web_core/styles/js/jquery.SuperSlide.2.1.1.js"></script>
<div class="result_top">
    <p class="result_title_zh">申友雅思智能测评报告</p>
    <p class="result_title_en">Intelligent&nbsp;&nbsp;&nbsp; Evaluation&nbsp;&nbsp;&nbsp; Report</p>
    <div class="score_box">
        <p class="score_num">
            <b><?php echo $data['paperId'] != 21 ? $data['score'] : '' ?></b><?php echo $data['paperId'] != 21 ? '分' : '已完成' ?>
        </p>
        <div class="score_card">
            <p class="score_title"><?php echo isset($userData['nickname']) ? $userData['nickname'] : '同学' ?>
                ，你的测评结果如下</p>
            <div class="score_des">
                <p><?php echo $data['paperId'] != 21 ? '正确率：' . $data['rate'] . '%' : '人均用时：' . $avgTime ?></p>
                <?php if ($data['paperId'] != 21 ) { ?>
                    <p class="score_process"><span style="width: <?php echo $data['rate'] ?>%"></span></p>
                <?php } ?>
            </div>

            <div class="score_des"><p>总用时：<?php echo $data['time'] ?></p>
                <a href="/evaluation/notice.html?paperId=<?php echo $data['paperId'] ?>">重新测评</a>
            </div>
            <p class="score_notice">*实际考试情况具体问题具体分析</p>

        </div>
        <div class="wechat_card">
            <div class="wechat_left">
                <p> 微信扫一扫<br> 小程序也能</p>
                <p>做测评</p>
            </div>
            <img class="wechat_img"
                 src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/applet.png">
        </div>
    </div>
    <div class="section2 section">
        <p class="section_title"><img
                    src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/left_title.png">雅思测评单项分析
            <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/right_title.png"></p>
        <div class="gray_bg">
            <div class="hd">
                <ul class="subject_nav">
                    <?php foreach ($data['detail'] as $k => $v) { ?>
                        <li <?php echo $k == 0 ? 'class="on"' : '' ?>><?php echo $v['subjectName'] ?></li>
                    <?php } ?>
                    <!--            <li>听力</li>-->
                </ul>
            </div>
            <div class="bd">
                <ul class="ul">
                    <?php foreach ($data['detail'] as $key => $value) {//循环每个项目?>
                        <li>

                            <ul class="quesiton_list">
                                <?php foreach ($value['result']['question'] as $k => $v) {//循环每道题目?>
                                    <li class="quesiton_item <?php echo $v['userAnswer'] == $v['answer'] ? 'correct' : 'error' ?>"><?php echo $v['name'] ?></li>
                                <?php } ?>
                                <!--            <li class="quesiton_item correct">2</li>-->
                                <!--            <li class="quesiton_item correct">3</li>-->
                            </ul>
                        </li>
                    <?php } ?>
                </ul>

            </div>

        </div>

        <div class="aide_flex">
            <p class="aide_left">完整版测评试卷+答案解析，请扫描右侧<br>
                二维码添加小助手领取</p>
            <p class="aide_wechat">
                <span>小助手：<br>thinkU077</span>
                <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/index_slices/xuezhang.png">
            </p>
            <!--        <p class="aide_wechat">-->
            <!--            <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/index_slices/xuezhang.png">-->
            <!---->
            <!--            <span>小助手：<br>ShenyouGmat123</span>-->
            <!--        </p>-->

        </div>
    </div>
    <div class="wechat_banner">
        <div class="container">

            <div class="wechat_banner_text">
                <p>扫码免费领取</p>
                <p>42册雅思系统备考复习资料包</p>
            </div>
            <div class="wechat_banner_code">
                <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/index_slices/xuezhang.png">
                <span>小助手：<br>thinkU077</span>
            </div>
        </div>

    </div>
    <div class="section">
        <p class="section_title"><img
                    src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/left_title.png">雅思备考复习建议
            <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/right_title.png"></p>
        <p class="hours">预计课时规划：<?php echo $data['suggest'][0] ?></p>
        <ul class="suggest_list">
            <?php if ($data['paperId'] != 21) { ?>
                <li class="suggest_item">
                    <p class="suggest_title">
                        <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/listen.png">听力建议
                    </p>
                    <div class="suggest_des"><?php echo $data['suggest'][1] ?></div>
                </li>
                <li class="suggest_item">
                    <p class="suggest_title"><img
                                src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/read.png">阅读建议
                    </p>
                    <div class="suggest_des"><?php echo $data['suggest'][2] ?></div>
                </li>
                <li class="suggest_item">
                    <p class="suggest_title"><img
                                src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/write.png">写作建议
                    </p>
                    <div class="suggest_des"><?php echo $data['suggest'][3] ?>
                    </div>
                </li>
            <?php } else { ?>
                <li class="suggest_item">
                    <p class="suggest_title">
                        <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/listen.png">口语建议
                    </p>
                    <div class="suggest_des"><?php echo $data['suggest'][1] ?></div>
                </li>
            <?php } ?>
        </ul>
    </div>
    <div class="section section2">
        <p class="section_title"><img
                    src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/left_title.png">与你类似的已出分同学，他们选择了以下雅思课程
            <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/evaluation/result/right_title.png"></p>
        <ul class="course_list">
            <?php foreach ($class as $k => $v) { ?>
                <li class="course_item">
                    <img class="course_img" src="<?php echo $v['pic'] ?>">
                    <div class="course_main">
                        <p class="course_name"><?php echo $v['name'] ?></p>
                        <p class="course_btns">
                            <a href="https://p.qiao.baidu.com/cps/chat?siteId=16998561&userId=33849315&siteToken=0848542c0e71b685b68768fcec8e99ef"
                               target="_blank">立即咨询</a>
                            <a href="/course-detail/<?php echo $v['id'] ?>.html" target="_blank">查看详情</a>
                        </p>
                    </div>
                </li>
            <?php } ?>
        </ul>
    </div>
    <script>

        jQuery(".gray_bg").slide({mainCell: ".bd .ul", trigger: "click", vis: 1});

    </script>
